package com.jwthhealth_pub.old.sportfitness.view.adapter.inner;

import android.support.v7.widget.RecyclerView;
import android.view.ViewGroup;

import com.jwthhealth_pub.old.sportfitness.module.SprotCourseInfoModule;
import com.jwthhealth_pub.old.sportfitness.view.SportCourseListActivity;

import java.util.List;

/**
 * Created by Administrator on 2017/1/6.
 */
public class SprotItemBodyInnerAdapter extends RecyclerView.Adapter {

    private List<SprotCourseInfoModule.DataBean.VideoListBean.MainDescBean> list;
    private SportCourseListActivity activity;

    public SprotItemBodyInnerAdapter(SportCourseListActivity activity, List<SprotCourseInfoModule.DataBean.VideoListBean.MainDescBean> main_desc) {
        this.activity = activity;
        list = main_desc;
    }

    @Override
    public RecyclerView.ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
//        ViewHolder view = ViewHolder.inflate(activity, R.layout.activity_sport_item_main_describe);
        return null;
    }

    @Override
    public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {

    }

    @Override
    public int getItemCount() {
        return list.size();
    }
}
